using B.S.NewMedical.ErrorCode;
using MediatR;
using System;

namespace B.S.NewMedical.Api.Write.Application.Command.Department
{
    /// <summary>
    /// 删除科室命令
    /// 用于软删除科室信息，将科室状态设置为已删除
    /// </summary>
    public class DeleteDepartmentsCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 科室ID
        /// 必填字段，用于标识要删除的科室
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 删除原因
        /// 记录删除科室的原因，便于后续审计
        /// </summary>
        public string DeleteReason { get; set; }
    }
} 